#include<cstdio>  
#include<algorithm>  
#include<cstring>  
#include<iostream>  
#include<cmath>  
using namespace std;

int main() {
	int a, b, c;
	while (scanf("%d %d %d", &a, &b, &c) != EOF) {
		int ans = (70 * a + 21 * b + 15 * c) % 105;
		if (ans < 10 || ans > 100)
			printf("No answer\n");
		else
			printf("%d\n", ans);
	}
	return 0;
}
